home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2001 May / SGI IRIX Base Documentation 2001 May.iso / usr / share / catman / a_man / cat1 / yppush.z / yppush
Encoding:
Text File  |  1998-10-20  |  3.0 KB  |  67 lines

  1.  
  2.  
  3.  
  4. yyyyppppppppuuuusssshhhh((((1111MMMM))))                                                          yyyyppppppppuuuusssshhhh((((1111MMMM))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      yppush - force propagation of a changed NIS map
  10.  
  11. SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  12.      yyyyppppppppuuuusssshhhh [ ----dddd _d_o_m_a_i_n ] [ ----vvvv ] _m_a_p_n_a_m_e
  13.  
  14. DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  15.      _y_p_p_u_s_h copies a new version of the specified NIS map from the master NIS
  16.      server to the slave NIS servers.  It is normally run only on the master
  17.      server by _y_p_m_a_k_e(1M) after the master databases are changed.  It first
  18.      constructs a list of NIS server hosts by reading the _y_p_s_e_r_v_e_r_s map within
  19.      the _d_o_m_a_i_n.  Keys within the _y_p_s_e_r_v_e_r_s map are the hostnames of the
  20.      domain's NIS servers.
  21.  
  22.      A ``transfer map'' request is sent to the NIS server at each host, along
  23.      with the information needed by the transfer agent (the program which
  24.      actually moves the map) to call back the _y_p_p_u_s_h.  When the attempt has
  25.      completed (successfully or not), and the transfer agent has sent _y_p_p_u_s_h a
  26.      status message, the results may be printed to stdout.  Messages are also
  27.      printed when a transfer is not possible; for instance when the request
  28.      message is undeliverable, or when the timeout period on responses has
  29.      expired.
  30.  
  31.      Refer to _y_p_f_i_l_e_s(4) and _y_p_s_e_r_v(1M) for an overview of NIS.
  32.  
  33. OOOOPPPPTTTTIIIIOOOONNNNSSSS
  34.      ----dddd _d_o_m_a_i_n   Specify a _d_o_m_a_i_n.
  35.  
  36.      ----vvvv          Verbose.  This causes messages to be printed when each server
  37.                  is called, and for each response.  If this flag is omitted,
  38.                  only error messages are printed.
  39.  
  40. FFFFIIIILLLLEEEESSSS
  41.      /var/ns/domain/_d_o_m_a_i_n/ypservers.m
  42.  
  43. SSSSEEEEEEEE AAAALLLLSSSSOOOO
  44.      ypserv(1M), ypxfr(1M), ypfiles(4).
  45.  
  46. BBBBUUUUGGGGSSSS
  47.      In the current implementation (version 2 NIS protocol), the transfer
  48.      agent is _y_p_x_f_r, which is started by the _y_p_s_e_r_v program.  If _y_p_p_u_s_h
  49.      detects that it is speaking to a version 1 NIS protocol server, it uses
  50.      the older protocol, sending a version 1 YPPROC_GET request and issues a
  51.      message to that effect.  Unfortunately, there is no way of knowing if or
  52.      when the map transfer is performed for version 1 servers.  _y_p_p_u_s_h prints
  53.      a message saying that an "old-style" message has been sent.  The system
  54.      administrator should later check to see that the transfer has actually
  55.      taken place.
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.                                                                         PPPPaaaaggggeeee 1111
  64.  
  65.  
  66.  
  67.